<div id="menu">
<ul class="ulti">
	<li><a href="/">Hỗ trợ</a></li>
	<li><a href="/">Góp ý</a></li>
	<li><a href="/">RSS</a></li>
	<li><a href="/">Sitemap</a></li>
</ul>
<div style="display: ;" id="more-navigation"> 
        <section id="game-categories">
            <ul id="menu-footermenu-1" class="menu">
<?php

$cat_tree = $this->scache->script('module.category.footmenu.get_cat_tree_array','$this->mcategory->get_cat_tree_array(1);');
if ($cat_tree) foreach ($cat_tree as $cat) {
	if (!$cat || !isset($cat['parent']->cat_id)) 
		continue;
	
	echo '<li id="menu-item-'.$cat['parent']->cat_id.'" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-'.$cat['parent']->cat_id.'"><a href="'.category_url($cat['parent']->cat_code).'">'.$cat['parent']->cat_name.'</a>';
	if (isset($cat['child']) && $cat['child']) {
		echo '<ul class="sub-menu">';
		foreach ($cat['child'] as $child) {
			echo '<li id="menu-item-'.$child->cat_id.'" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-'.$child->cat_id.'"><a href="'.category_url($child->cat_code).'">'.$child->cat_name.'</a></li>';
		}
		echo '</ul>';
	}
	echo "</li>";
}
?>
</ul>            
		</section>
<div class="clear"></div>
</div>
</div>